package com.fz.us.admin.company.dao;



import com.fz.us.admin.base.dao.BaseDao;
import com.fz.us.admin.company.entity.StepBrief;
import com.fz.us.admin.company.entity.TaskEntity;
import com.fz.us.admin.company.entity.TaskFlow;
import com.fz.us.admin.company.entity.User;

import java.util.List;

/**
 *
 * ============================================================================
 * 版权所有 2013 。
 * 
 * @author 
 * @version 0.1 2013-1-16
 * ============================================================================
 */

public interface TaskFlowDao extends BaseDao<TaskFlow, String> {

    public List<User> findUsersByTaskFlow(String taskId);

    public List<TaskFlow> getTaskFlowByCreatetime();

    public List<TaskFlow> getInfoByTaskEntity(TaskEntity taskEntity);

    public List<TaskFlow> getInfoByTaskStepBrief(TaskEntity taskEntity, StepBrief stepBrief);

    //退回步骤列表
    public List<TaskFlow> getInfoByBack(TaskEntity taskEntity, int count);
}